﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Bpms.Bll;
using Bpms.JsLibrary;

namespace Web
{
    public partial class zgqtest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Js.AddJs(JsLib.jquery, JsLib.jquery_alert);
            this.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>jAlert(\"Hello\",\"World\");</script>");
        }

        protected void GetJs(object sender, EventArgs e)
        {
            var cs = this.ClientScript;
            var url = cs.GetWebResourceUrl(typeof(Js), this.txtJs.Text);

            this.ltlJsString.Text = url;
        }
    }

    
}
